4c2d1b5a63e7e7ab0295b7e5f46f79fa6269870a,fabric-zookeeper-spring/src/main/java/org/fusesource/fabric/zookeeper/spring/ZKServerFactoryBean.java,ZKServerFactoryBean,afterPropertiesSet,#,54
Before Change
zooKeeperServer.setTickTime(getTickTime());
zooKeeperServer.setMinSessionTimeout(getMinSessionTimeout());
zooKeeperServer.setMaxSessionTimeout(getMaxSessionTimeout());
connectionFactory = new NIOServerCnxn.Factory(getClientPortAddress(), getMaxClientConnections());
connectionFactory.startup(zooKeeperServer);
}
After Change
zooKeeperServer.setTickTime(getTickTime());
zooKeeperServer.setMinSessionTimeout(getMinSessionTimeout());
zooKeeperServer.setMaxSessionTimeout(getMaxSessionTimeout());
connectionFactory = new NIOServerCnxnFactory();
connectionFactory.configure(getClientPortAddress(), getMaxClientConnections());
connectionFactory.startup(zooKeeperServer);
}